package com.wjc.train.member.repository;

import com.wjc.train.member.entity.Ticket;
import com.wjc.train.member.mapper.TicketMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.member.req.TicketQueryReq;
import com.wjc.train.member.resp.TicketQueryResp;

/**
 * <p>
 * 会员车票 仓储类
 * </p>
 *
 * @author Guessed
 * @since 2023-08-22
 */
@Repository
public class TicketRepository extends ServiceImpl<TicketMapper, Ticket> implements IService<Ticket>  {

   public IPage<TicketQueryResp> queryList(IPage<TicketQueryResp> page, TicketQueryReq ticketQueryReq) {
        return baseMapper.queryList(page,ticketQueryReq);
    }
}